package com.jiyun.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cn.jiyun.entity.pojo.Club;
import com.jiyun.mapper.ClubMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClubServiceImpl extends ServiceImpl<ClubMapper, Club> implements ClubService {

    @Autowired
    private ClubMapper clubMapper;

    @Override
    public List<Club> findAll() {
        List<Club> clubList = clubMapper.findAll();
        return clubList;
    }
}
